package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (Menu)实体类
 *
 * @author makejava
 * @since 2021-05-15 14:52:36
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Menu implements Serializable {
    private static final long serialVersionUID = 130363058311476255L;

    private Integer menuId;

    private String menuName;
    /**
     * 菜单图标
     */
    private String menuIcon;
    /**
     * 菜单路由
     */
    private String menuUrl;
    /**
     * 父id
     */
    private Integer menuFid;

    private String menuCreater;

    private Date menuCreatetime;

    private String menuEditor;

    private Date menuEdittime;
    /**
     * 0:未删除，默认值；1：已删除
     */
    private Integer menuFlag;

    /*
    用于查询二级表单
     */
    private List<Menu> menus;

}
